<h1><?php echo __("Countries List") ?></h1>

<table>
  <thead>
    <tr>
      <th><?php echo __("Countries") ?></th>
      <th><?php echo __("Countries name") ?></th>
      <th><?php echo __("Countries iso code2") ?></th>
      <th><?php echo __("Countries iso code3") ?></th>
      <th><?php echo __("Address format") ?></th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($countriesList as $countries): ?>
    <tr>
      <td><a href="<?php echo url_for('countries/edit?countries_id='.$countries->getCountriesId()) ?>"><?php echo $countries->getCountriesId() ?></a></td>
      <td><?php echo $countries->getCountriesName() ?></td>
      <td><?php echo $countries->getCountriesIsoCode2() ?></td>
      <td><?php echo $countries->getCountriesIsoCode3() ?></td>
      <td><?php echo $countries->getAddressFormatId() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

<a href="<?php echo url_for('countries/create') ?>"><?php echo __("Create") ?></a>
